package com.hsy.crm.web.mapper;

import com.hsy.crm.web.config.CrmMapper;
import com.hsy.crm.web.domain.entity.Menu;
import com.hsy.crm.web.domain.entity.User;
import com.hsy.crm.web.domain.po.user.UserPagePo;
import com.hsy.crm.web.domain.vo.user.UserPageVo;

import java.util.List;

public interface UserMapper extends CrmMapper<User> {

    List<UserPagePo> page(UserPageVo userPageVo);
    List<Long> findUserMenuIds(User user);
    User selectForLogin(User user);
    List<User> selectAllUsers(User user);
    int inserts(User user);
    
}
